package com.example.smart_video.model

import android.os.Environment
import com.example.smart_video.model.json.VideoData

object Constants {
    @JvmField
    var ROOT_MODE = true


    const val BASE_URL = "http://106.52.115.24:8081/"
    const val DOWNLOAD_FOLDER = "/Download/"
    const val SHARE_PATH = "7GxJZepa8JoX"
    @JvmField
    val saveSDPath = Environment.getExternalStorageDirectory().absolutePath + DOWNLOAD_FOLDER

    const val TENCENT_BUCKET = "fun5demo-1254407438" //腾讯官方存储桶Bucket
    const val TENCENT_BUCKET_OFFICE_URL="https://"+TENCENT_BUCKET+".cos.ap-guangzhou.myqcloud.com/"





    /**
     * sharePerfer 参数
     */
    const val USER_INFO = "user_info"
    const val LAST_PLAY_POS = "last_page"
    const val LAST_LIST_DATA = "last_data"


    /**
     * 视频帖子类型
     * */
    enum class EventEnum {
        网络请求成功,网络请求错误,网络请求取消,网络请求完成,下载进度更新,倒计时进行中,上传成功,上传失败,上传进度,列表滚动,输入框文字变动,返回,搜索,清空,

        进度条更新,等待播放器就绪才可暂停,单个确定按钮点击回调,拒绝,同意
    }


}